#ifndef CARD_H
#define CARD_H
#include <string>

using std::string;

class Card
{
    public:
        Card(int card_id = 0, int type = -1, int price = 0, int times = -1, string owner = "", string date = "");
        virtual ~Card();
        int getCardId();
        int getType();
        int getPrice();
        int getTimes();
        string getDate();
        string getOwner();
        void setCardId(int card_id);
        void setType(int type);
        void setTimes(int times);
        void setPrice(int price);
        void setDate(string );
        void setOwner(string );
    protected:
    private:
        int card_id;
        int type;
        int price;
        string owner;
        string date;
        int times;
};

#endif // CARD_H
